package com.zsw.dubbo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.zsw.dubbo.service.DemoService;


public class Consumer {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext ss = new ClassPathXmlApplicationContext("dubbo-consumer.xml");
    	
		DemoService demo = ss.getBean(DemoService.class);
		
		System.out.println(demo.sayHello("zswaaaaaaa"));
		
		ss.close();
	}
}
